package com.ysx.tmall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.ysx.tmall.*.dao")
// MapperScan 把 UserDao.java 和 UserDao.xml文件绑定
public class TmallApplication {

    public static void main(String[] args) {
        SpringApplication.run(TmallApplication.class,args);
    }

}
